<template>
     <iframe id="iframe" v-if="show" name="iframe" :src="url"  class='dialogIframe'  frameborder="no" border="0" marginwidth="0" marginheight="0" style='width:100%'></iframe>
</template>
<script>
export default {
    data(){
         return{
              url:'',
              show:false,
         }
    },
    created(){
         // alert(unescape(unescape(this.$route.query.url)))
          if(this.$route.query.url){
               let urls=unescape(unescape(this.$route.query.url));
               console.log("urls====ss==="+urls)
               urls=urls.replace("ip/",localStorage.getItem("ip"))
               this.show=true;
               this.url=urls;
              // this.url="http://8.136.193.200/ahgm/?type=花丘二区";
               console.log(urls)
          }
    }
}
</script>
<style scoped>

</style>